added code for p
Merge pull request #2 from CHEP-OPENUI/DEV0.2

added code for p