changed hardcoded source address to automatic using the MAC address returned from getMACaddress function