define a core metrics struct in dualdao
rename vars