program now longer distinguishes between upper and lower case