passed lab3..... but a bit fucked