swiched the paramter order to support multi-word text