add query-related interfaces