Fixed problem 5 from a bonehead thought