Removed debugger statement and added some comments