switching keywords to text type