invoke handleEvents through the simulation wrapper