A pumping system for moving water of a swimming pool includes a water pump, an infinitely variable speed motor, and an arrangement for operating the motor. In one example, the pumping system includes a memory configured to store a plurality of retained speed values, an arrangement for providing a plurality of retained speed values to the memory, and an arrangement for reading a selected one of the plurality of retained speed values from the memory. In addition or alternatively, the pumping system includes a storage medium for digitally storing a plurality of pre-established motor speed values and an arrangement for receiving input from a user to select one of the pre-established motor speeds. In addition or alternatively, the pumping system further includes an arrangement for restarting operation of the motor at a previously selected speed value when power supplied to the motor is interrupted during operation of the motor. A method for controlling the pumping system is also provided.