trying to merge ships into one generic class