updation in assignment7