assignment7 1.2