adds two-way data binding