added event sys, documentation follows.