removed tolower in userinput, addd todox