upgraded library and works