corestats implemented. need to implement coreselect and test corestats