corrections
updated to avoid sending under 40 to avoid spamming the gateway