added text type to pass plain text as a string