more cpu and turn end logic