now data is passed from callbacks into devices by means of an improved fillData() function.