now handles same sex lines without breaking on nan, submissions in same format as original .csv files