base.py dev.py modified for commented