Simplify examples and functions