Debugged code.

Debugged.