Made code compilable but nut runnable