Slight progress on p tree