Got the events queries done