better pdf output