Added base.rb