added back Nimesh's updates of the addevent activity. they somehow got
deleted.