Changed a variable name and indent

Renamed the new alldata item to row