make code compilable