Debugging the code