Compiling errors solved