move from array to assoc