original assignment HW#5.1.C1