how to use the library