simplify solution for 2.2