done for part1, lab2