added planned flow