Added collect.rb for easier usage