added the debug mode