compiling all codes