removed broken AI code