adding pattuples