added example for raw client