solution to 10, modified 2
solution to 11