change .println() to .record()