Edit cornfield()