Added console debugging output