running recovery routine