problem-9 clean up