refactoring of matLab event names