simplify slightly