setup validation