Add validates
Merge pull request #4 from yosuke-furukawa/fix/add_validates

Add validates