set by array