updated changes
Merge pull request #23 from cdla/enh/restingwf

updated changes!