row validation