trains engine as it goes over tracks