problem nine solved.