small changes to data transmission