fixing Ship class