main plan cond