Mark function parallelized_function before add_new_function