done part2 of lab3