add events object wrapper