changed star to core in Resource model