Dealing with layoffs