added RestClient solution