added built-in sentence function