lab1 part2 working