added reset endpoint