added pdf capabilities