Up to part 2 of lab 3