updated logging, minor change