Changed Gregor.py