exception handling and not deleting old stats