implementing ActiveVar.