validations added
Merge pull request #12 from PAUCHOU/kevin2

validations added
revised validation
Merge pull request #13 from PAUCHOU/kevin2

revised validation