lib working