added word boundary jumping