can take user input of any case