design the data transfer mechanism.