Everything finished except the export to txt formatting