Code made Compilable