homework number 6 done.