custom query added