fill array with for