reorder function definition _parallel_task