adding all different events to template