Utilized the shipstate enum more.