Question 5 answer changed to reflect code changes