Refactoring soy_example