added more docs on lib stuff