got shipyard working in prolog and formatting