adding events documentation