update Collection class with constructors and vars