most of assignment 2 done