trying to make data flow