refs #26 Samplegen works!