added clear all events method