Changed stateOfShip return value