initial version of lab3 complete