hopefully better performance running the big query once and then fetching results...