added resume method
Merge remote-tracking branch 'origin/master'