add debug call to d()