add library part 2