first attempt at header stuff for p0