started debugging the code