centralized exception handling; added 'show me previous days statistic'