exercsie 2.2 completed