finish lab2 and lab3