added convex polygon. work in progress