added pdf helper