mapped the ai mode to x button