add events like this template