sub in MPR example