Add break statement to writeout