added core.h