add function to get trigger word