move to top of function along side of var myhub