added two way data binding