add library with performance improvement