validations added
Merge pull request #12 from PAUCHOU/kevin2

validations added