Working on collector.rb. Don't finished yet