added custom query index action