Implemented the resume feature.