expand.py added