Circuits make gear pumps more versatile