use equals instead of == for getting empire cores