added pdf and rm.