change the label of to and text as configurable