think this should be a case class and rowOrd should be implicit.