made db_lib working