added wordLoop