Fix complier errors. It compiles now!