refactored boat rotation