added logging to __clnt for debug