attempted an answer to question 7;