passing index into gatherUserInput debugging