save hub messages reference and use it throughout