temporarily using RestClient for binding