working on event tracking