Created boilerplate for adding events