Revising queries to use the new tables...