finished lab2 part2