added validation
Merge pull request #9 from enpere/validation

added validation