added streaming query example