A breastpump which can be programmed to generate, among other things, a plurality of differing milk expression (extraction) sequences, or curves is disclosed. In one embodiment of the invention, a motorized pump (e.g., compressed air, battery and/or house current) is provided with a microprocessor-based controller. Cards, with microprocessor &ldquochips,&rdquo containing different suction curves adapted for varying conditions and objectives are included for programming the controller in this embodiment.