Updated AI to get the right side