Fix solution to number 12