Modified Darwin.py