finished lab4 part1