added collections parameter
Merge pull request #1 from libis/addcollections

added collections parameter