pps: change to new flag variable