Added collection func
Merge pull request #2 from cptnhaddock/Test-of-branching

Added collection func