tempclient done as an example