Modified ship.coffee