Iab as library