solution for 11
adding solution to 12