added the two suggestions made by Elliott
Merge pull request #93 from komatits/devel

added the two suggestions made by Elliott