Working on Document, Added lower() when reading the strings