export eachCore method