Now using processEventBuffer with new even struct