cleaning up telemb.py