Added ship logic