passing index into gatherUserInput