added some extra functionality to collection