Added ui components for metrics calculations.