queries and versions