added events documentation