handle input that are phrases and are separated by comma ','