removed extant polygon code