Removed more debugging code and print statements.