add debug utility