fixed problem 7, arrays dun goofed