first core.py