Eliminate repetition (solves exercise 3.1)
Eliminate repetition (solves exercise 3.1)