created a text and value binding