added ship and cell arrays, all tests passed