added some client logging