make eventMap public