problem 5 working.