fixed events
added new documentation