Declare row0 along with the other variables.