cli with stats and histo