Updating the mian of assignment7a