capable of working as pump and motor