part1 #5-6 of hw4