Compiles, still not working right...
Compiles and works finally..