opt to pass address.domain to sendMessage function rather than grabbing it from object once inside function