init
init
add ability to same nEvents
minor changes