changing the data flow