created insert_code.rb