program assignments 1: part2