added bar call to libevent