added confirm to reset