add row-wise methods to existing ops
fix a funny race in var