param checks
Merge pull request #227 from creighton/improve

param checks