Added extra debug output