a gear on a rail