modify p class