Code commentation for event