hw q7 attempt 2