almost all working
lab2 done