Make the code compilable (the program fails)