Solved #8
Solved #10