as library