added a resume feature