added func to check case of 3 word names
added func to check case of 3 word names