connected value to each row/column