Changed function name fillRows to addRow and removed unnecessary assignment