cleaned up/updated time.rb