using config module in collection