Restructuring the lifecourse: work and retirement