debugging chi