simplifying ship class