comments in core.py