Complete code for PA #2