ship is now a class