index put back into command line arguments so it gets written into vector assoc