created phrase function