add events interface