create a condition variable when no condition input