core id for keys example