having the cam on an end surface of the rotating element