event first, then optional priority