trying to control data transfer