added row/column primary/dual value functions