example of client using the library