added commented methods for ships