code_generation.rb added