messed around with pgon class