with electrical and mechanical input and output