Changed spaces to tabs.
Added debug function.
Added debug function.