added reset button, data loading