added custom query