added local querying in the UI