made writeln bytes optional