change examples to work with genResult