ai turns work

still some little problem