added metrics display.