sjanota: WriterFactory instead of GUI.print()