changed so that user inputs name