modified nextword