learn tyou some erlang chapter 16 (events)