Edited core.h