adds the library