index incrementing after argument amount inserting