code p1 for master retention