Add supporting p functionality