simplifying the value handling for tuples