Got rid of restclient