updated logic, number of words, include a number and include a symbol working