add a libevent example