example of using stubby client