added the inputfield debuggede somwhat