get cores