change layout of p1