train move changed in order to work properly