started work on cmptxpwr.py