new function d100
new functions event-happend? and what-event?