updating and merging makePoly in repo