added data purge feature.