P gauge transformation implemented