Added separate compile-writeln function