Fixed issue with upper case letters in the middle of a sentece. Re-covered lost parts of code