Removed unnesessary output statements.