Add event subscriber example