simplify ex1