Re-added reset feature and added demo file