different approach of managing parallel tasks