processing numbers, adding page and vendor numbers