big schedule condition rewrite