removed global variable that checked if options were being entered a second time