use conditionto judge to call c or not