finalize ship example