first draft new proc to compare equivalent tables