remove EventDataType func, this is much better decided based on current state when needed