completes polygonwild.js