improved writeln once again