Removed the debugging information and cleaned up the code style.