working on ship.rb