updated logging'