add priority and phase columns