added basic queries for select Template screen