primary secondary tertiary flow chart