add reportEvent method