In-class assignment 6, part 1