speedup db queries by reusing builder