add debug features