configure the library