Queries interface created