Dealing with the pain of layoff