support for generting PDF docs