minor changes debugging
debugged