documentation and common sources to lib