bind view with data