add client creation to example