updated logging...logging working