implement text binding for params