AS bug fixed, now makes random move