Trying to debug a problem, part 2