modify p to i.