add more validation and comments
Merge branch 'master' of https://github.com/whuey79/ciFunctions