simplify example a bit