example use of the library