changed create_ships from [] to {}