problem 9: added to test