fleshing out pdf generation... quick and dirty