convex stuff and doc