bind data to data functions