assignment 4 done.