add comments for lib