create method event_as_string in UI