some more debug logging