generating WKTs. not working entirely yet