$ 0 0 • added code to clean up variables and log successful send • minor tweaks to the code and comments