Input validator
data samples