add function guid, prepare for events system