3rd homework, part 1