db.py modified