almost solved problem 6
think i solved it.