finish function to pick up X12 835