Modifying code for Exercise 4 to make it more efficient