updated c.rb