change select to collect