Modified two stage QRE, looks correct.