rework pdata
change doc, add problem static asserts