Change write to send