make p_part a member function
build fix, will switch to boost::format later