Utils for generating the tuples