added string key and case sensitivity