Modified core.py first time