added listEvent functionality