transpoly still needs debugging