Removed unnecessary println calls.