setPfIndex to follow the style