add dictionnary and last pdf page