modified transform.py docstrings