Added resume feature with parameters