Using text data type instead of string