perf - added cached query time
huge performance gains! closure creation functions are the bees knees.