validating before sending to sor