add new function named limitWord