Some remarks on convex functions