factor aindex to assignment and vice versa, tricky! done 1.00