added p5 and p6