Up to part 3 of lab 3