validation begin