update core.py for feature