add time.rb file