upto ordered tuples