added pdf diagram