adding to_s to text, to ensure text is a string.