removed use of libegg