Tabling project. Cannot loop names into txt file