Fixes issue #23
Merge pull request #1 from dakota/issue-23

Fixes issue #23