Removed redundant writeln