smart_library