resolved bugs, re-ran now only have 2 files