with mechanical input and electrical output