updated simple ai beginning