add events documention.