lib usage explanation