added pdf from class