added documentation for event