written all code for the writer under PAF; just need to override to
string on the element classes