changed to REG_SEND