Anatomy of a layoff