pass system to mark_event