Working on array filler function