problem 12 solution 2.. fail.