added motion control for ship