add a way to run processes in parallel