adding reverse.py