sample validation check