finish lab3 and lab4