finished v1 of lab 3