AI with rotate