Changed return to null for funcs if row=0