added a little more to problem 11