use each and process in parallel