Finally finished AI.