Solution 6
Answer 6 added