new approach for validation