Added parameters to collect()