add comment to loop for word lengths