found more opportunities to use collect