changes to send receive