ensured all input by user is converted to lowerCase