Added extra debug output.