first attempt at ship type processing