i introduced a lot of logging to debug a problem