added view_stats_spec