Implemented simple backend querying