finished part 1 of lab 4