delete convex and improved new main