adds even more debug logging