thanks everyone for the replies! sorry for my bad coding, I was planning on adding all the javadoc comments when I finished debugging. Also, I cut and pasted from my (relatively) long and complicated code to show the parts that mattered so line 35 is: PrintWriter toFile = new PrintWriter(new FileWriter("moves.txt"), true); Do you (you being corlettk) mean put the printwriter ...