added resume method