added event-class and test array. todo:l add picture, open detailed version.