Collects the data