Changed to print in the debug level