added comments to libraries