changes made for assignment 2