library working