add metric variable