Changed all instances of payLevel to pLevel