further simplify and optimize new cond var