More r.row and logic operation