set up a temp working tables