changes in purchasepen to remove max pop