Simplify lib example