oops, add grappa's base_query_template