added docs to core.py