added part 2 of lab 2