debug: combine events at front end