allow to set the collection while initializing