rework of tuples