debug output has been added