Implementation of the data dependent example for code generation