event message parsing & handling