add a sample and validate