added manual recovery