added dumb_query_main and less_dump_query_main