Added faster compiling method