Update core.c

Testing with the G2 core.c