using the library effectively