added code.rb file