no seg fault and the new sampling or cont events is implemented