updated rules for send-input.