updated to lib2