homework assignement 1, part 5