use query iterate() method in case event too