for the ai exercises