example beginnings of a Query class