added extra debug