custom query

Added Custom Query Function