i use ctags to find the queries in the xql files. but as mentioned above, sometimes you don't realize that there is a query in the xql file and that is the actual query running. i think we should remove queries from the tcl files. it makes things confusing and i have found that they are not kept in sync with the queries in the xql files. it becomes very confusing and not easy to manage.