change how to determine core