all examples in, polygon related function break some of them