Used row and col variables.