unpack a tuple