realized entire array is shifted by insertion, added to notes