#4 added existence test for row