add as library