it "fills with nils if the index is out of the range"