check library