lab3 done and small fix to lab4