First version with pdf