debugged polygon and pch.tokens