split sender and reader