add debug mode for quick debugging