set from array variable