wire up the data with the view