Add Validation.

Very bad work.