adding with-event-loop example