Added eventsDoneSoFar functionality