Add methods for adding at index

fixed, not sure why github still shows old value