added demo for metrics