Committing latest version of the core.py file.