bunch of work on event array