adding some logging to the client