Add control on type of data event