libevent elec