new code for rest client
performance testing