implementation in validate function and h. controller