Added Debug Mode