started to add documentation

corrected signature issue with events