basic event creation into template