extended tutorial beyond querying