added new phrase types and words
added capability to limit length of chains