Have you looked at the rolling x tutorial in the SRP Wiki ?