formatting and played with problem 12