Drafting on database.py