added calculate ship