removed two redundant lines from collectInfo