Adding resume functionality.