add annotation for lib