All compiling errors solved