get the text value, then transform