added documentation for lib1