completed 4 & 6; partial solution to 5