Refactor answer to Q7.