diff --git a/IMRPhenomTPHMParity/setup.py b/IMRPhenomTPHMParity/setup.py
new file mode 100644
index 0000000000000000000000000000000000000000..171d673957ff20c5bc44eaaec7e892638dedb5e8
--- /dev/null
+++ b/IMRPhenomTPHMParity/setup.py
@@ -0,0 +1,33 @@
+"""
+setup.py file for testing birefringence pycbc waveform plugin package
+"""
+
+from setuptools import Extension, setup, Command
+from setuptools import find_packages
+
+VERSION = '0.0.dev0'
+
+setup (
+    name = 'pycbc-birefringence-TPHM',
+    version = VERSION,
+    description = 'An waveform plugin for PyCBC',
+    author = 'Yifan Wang',
+    author_email = 'yifan.wang@aei.mpg.de',
+    url = 'http://www.pycbc.org/',
+    #download_url = 'https://github.com/gwastro/revchirp/tarball/v%s' % VERSION,
+    keywords = ['pycbc', 'signal processing', 'gravitational waves'],
+    install_requires = ['pycbc'],
+    py_modules = ['dipole_TPHM'],
+    entry_points = {"pycbc.waveform.fd":"IMRPhenomTPHMParity= waveform:gen"},
+    classifiers=[
+        'Programming Language :: Python',
+        'Programming Language :: Python :: 2.7',
+        'Programming Language :: Python :: 3.6',
+        'Intended Audience :: Science/Research',
+        'Natural Language :: English',
+        'Topic :: Scientific/Engineering',
+        'Topic :: Scientific/Engineering :: Astronomy',
+        'Topic :: Scientific/Engineering :: Physics',
+        'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
+    ],
+)
diff --git a/IMRPhenomTPHMParity/waveform.py b/IMRPhenomTPHMParity/waveform.py
new file mode 100644
index 0000000000000000000000000000000000000000..d2431ed3c60d117762945c565e23311b1a1332ba
--- /dev/null
+++ b/IMRPhenomTPHMParity/waveform.py
@@ -0,0 +1,19 @@
+def gen(**kwds):
+    from pycbc.waveform import get_fd_waveform
+    import lal
+
+    if 'approximant' in kwds:
+        kwds.pop("approximant")
+    hp, hc = get_fd_waveform(approximant="IMRPhenomTPHM", **kwds)
+
+    temp =  kwds['parity_Amu'] / 1e9 / lal.QE_SI * lal.H_SI * lal.PI * lal.PI / lal.H0_SI
+
+    hp_parity = hp + hc * temp * hp.sample_frequencies **2
+    hc_parity = hc - hp * temp * hp.sample_frequencies **2
+
+    return hp_parity, hc_parity
+
+def add_me(**kwds):
+    kwds['cpu_fd']['IMRPhenomTPHMParity'] = gen
+#    kwds['filter_time_lengths']['IMRPhenomPv2Parity'] = kwds['filter_time_lengths']['IMRPhenomPv2']
+