Removed console debugging code