made changes to right side in assignment 3