func doData() if(isdef(Data) and not linked(Data)) event(onEventData) else event(onEventData, Data) end end