problems 6 & 7 solved