adds resume method