[update:] adding logging infrastructure