worked a bit on problem 12
typo!