Return event for compile