add ships functionality