problems 1-6 done