Before adding httpclient