add resume feature