added puts to cache.rb