final version of target ai(in theory)