initial changes for new mi_plan qc