mod core.py and core_calculations.txt