changed sender1 to send intermittently every 5 seconds