started Query class