data binding function understand