add ship's private method