(refs #2)Fix pull request. Basic pattern had been tested but it's still unstable.